amaui Date
Time and date utils library
MIT license
Production ready
min 2.4kb gzipped
100% test cov
Tree shakable
Browser and Nodejs
Very simple code
Modern code
Junior friendly
Typescript
Made with :yellow_heart:
Sizes
AmauiDate 2.4kb gzipped
AmauiDate with all the methods 5.6kb gzipped
AmauiDate with all the methods and all the timezones 22kb gzipped
Getting started
Add
yarn add @amaui/date
Use
import { AmauiDate, format } from '@amaui/date';
const amauiDate = new AmauiDate('2014-04-14T14:04:14.147');
amauiDate.value;
format(amauiDate, `MM-DD-YYYY '🙂' HH:mm:ss.SSS`);
Dev
Install
yarn
Test
yarn test
Prod
Build
yarn build